﻿var homeColumnCom = Vue.extend({

    data() {
        return {
            bannerAll: [{
                title: '新年打卡 享鸿运大礼包',
                imgUrl: './assets/img/AAA441.jpg'
            }, {
                title: '新年限量版 鸿运礼遇提前享',
                imgUrl: './assets/img/BBB251.jpg'
            }, {
                title: '关于我们',
                imgUrl: './assets/img/AAA.jpg'
            }, {
                title: '关于我们',
                imgUrl: './assets/img/BBB.jpg'
            }, {
                title: '新闻信息',
                imgUrl: './assets/img/CCC.jpg'
            }, ],
        };
    },
    mounted: function() {
        this.$nextTick(function() {//this.TouchSlide();
            //this.bannerSwiper();
        });
    },
    methods: {
        bannerSwiper(){
            var swiper = new Swiper('.banner', {
                loop: true,
                pagination: {
                    el: '.swiper-pagination',
                },
                autoplay: {
                    delay: 2500,
                    disableOnInteraction: false,
                },
            });
        }
    },
    props: ['allData'],
    components:{
      bannerCom,
      advanceSearchCom,
      featuredPropertiesCom,
      announcementSectioCom,
      officeForRentCom,
      whyChooseUsCom,
    },
    template: '\
<div>\
<banner-com></banner-com>\
<advance-search-com></advance-search-com>\
<featured-properties-com></featured-properties-com>\
<announcement-sectio-com></announcement-sectio-com>\
<office-for-rent-com></office-for-rent-com>\
<why-choose-us-com></why-choose-us-com>\
</div>\
',

});
